<!DOCTYPE html>
<html>
<head>
    <base href="${basePath}">
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <title>PROJECT-/</title>
    <link rel="stylesheet" type="text/css" href="${ctx}/static/public/fk/bootstrap/3.3.5/css/bootstrap.min.css">
    <link rel="stylesheet" type="text/css" href="${ctx}/static/public/css/lib/animate/3.5.1/animate.css">
    <link rel="stylesheet" type="text/css" href="${ctx}/static/public/css/lib/font-awesome/4.5.0/css/font-awesome.min.css">
    <link rel="stylesheet" type="text/css" href="${ctx}/static/version/1.0.0/css/theme.login.css">
</head>
<body class="app" >
    <div class="login-main">
        <div class="login-cont">
            <div class="form-wrapper">
                <form action="${ctx}/login" method="post">
                    <div class="login-title">
                        <span class="login-title-left">用户登录 </span><span class="login-title-right">Login</span>
                    </div>
                    <ul>
                        <li><input type="text" name="username" value="" placeholder="用户名" autofocus required/></li>
                        <li><input type="password" name="password" placeholder="密码" required/></li>
                    </ul>
                    <div><span class="red"><#if resultMsg??>${resultMsg.message}</#if></span></div>
                    <div><button class="login_submit">登录</button></div>
                </form>
            </div>
        </div>
    </div>
</body>
<script type="text/javascript" src="${ctx}/assets/public/js/lib/jquery/1.12.1/jquery.min.js"></script>
<script type="text/javascript" src="${ctx}/assets/public/fk/bootstrap/3.3.5/js/bootstrap.min.js"></script>
<script type="text/javascript">
    if(window.parent!==window){
        window.open("login", target="_top");
    }

</script>
</html>